package com.bt.lms.ui.page.sys.vo;

import javafx.scene.layout.HBox;

/**
 * 实时课堂信息
 * @author 徐大永
 */
public class RealTimeClassInfo {

    /**
     * 主题
     */
    private String name;

    /**
     * 主持人/主讲教师
     */
    private String teacherName;

    /**
     * 实时课堂时间
     */
    private String time;

    /**
     * 课程时长（分钟）
     */
    private Integer duration;

    /**
     * 实际参与人数/应参与人数
     */
    private String perContrast;

    /**
     * 状态
     */
    private String state;

    /**
     * 操作
     */
    private HBox operate;

    /**
     * 构造实时课堂信息
     */
    public RealTimeClassInfo(){

    }

    /**
     * 构造实时课堂信息
     * @param name 主题
     * @param teacherName 主持人/主讲教师
     * @param time 实时课堂时间
     * @param duration 课程时长（分钟）
     * @param state 状态
     * @param operate 操作
     */
    public RealTimeClassInfo(String name, String teacherName, String time, Integer duration, String state, HBox operate) {
        this.name = name;
        this.teacherName = teacherName;
        this.time = time;
        this.duration = duration;
        this.state = state;
        this.operate = operate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getPerContrast() {
        return perContrast;
    }

    public void setPerContrast(String perContrast) {
        this.perContrast = perContrast;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public HBox getOperate() {
        return operate;
    }

    public void setOperate(HBox operate) {
        this.operate = operate;
    }
}
